package com.mzq.langchain4j_springboot.web.upload;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data    //为类中配备get和set方法
@Component    //将bean放入IOC容器管理
@ConfigurationProperties(prefix = "aliyun.oss")//YML文件的映射
public class AliOSSProperties {
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
    private String endpoint;

}